package com.yingsheng.bi.hks.basic;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class RolePermis implements Serializable {

    private String roleId;

    private List<String> permissionList;

    public boolean check(String code) {
        return permissionList.contains(code);
    }


}
